package com.snatch.common.vo;

import java.util.ArrayList;
import java.util.List;
 
/**
 * @author ltj
 * 
 *         节点注册请求报文对象
 */
public class NodeRegisterInput {
	String onlyCode;// 唯一标识码
	String ip;// 节点的外部ip
	// int ice;//Ice端口号
	List<Config> configs = new ArrayList<Config>();

	public String getOnlyCode() {
		return onlyCode;
	}

	public void setOnlyCode(String onlyCode) {
		this.onlyCode = onlyCode;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	/*
	 * public int getIce() { return ice; } public void setIce(int ice) { this.ice = ice; }
	 */
	public List<Config> getConfigs() {
		return configs;
	}

	public void setConfigs(List<Config> configs) {
		this.configs = configs;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return configs.toString();
	}
	

}
